<script setup lang="ts">
import {useRouter} from 'vue-router'
import { ref } from 'vue'

const router = useRouter()

const toPrev = () => {
    router.push('/mine')
}
const data = ref([{
    key: 'budongchan',
    name: '不动产查询',
    subname: '查询个人不动产/房产'
},{
    key: 'sifashuju',
    name: '司法数据查询',
    subname: '个人司法大数据/失信'
}, {
    key: 'shebao',
    name: '社保查询',
    subname: '查询个人社保参保证明'
}])
</script>

<template>

  <div class="my">
    <div class="my-top">
        <div class="my-nav">
            <img src="@/assets/toPrev.png" alt=""  @click="toPrev()">
            <div class="my-item">联系我们</div>
        </div>
        <div class="content">
            <div class="text-center">长按识别二维码</div>
            <div class="text-center fz13 gray">添加客经理微信获取取登录账号</div>
            <img src="@/assets/code.png" alt="" class="code">
            <div class="count gray fz13">获取登录账号可获得以下服务</div>
            <div class="search" v-for="item in data" :key="item.key">
                <div>{{item.name}}</div>
                <div class="fz12 gray">{{item.subname}}</div>
            </div>
            <div class="rexian gray">服务热线：400-800-800</div>
        </div>
    </div>
  </div>
</template>

<style scoped>
.my{
    background-color: #f6f6f6;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.my-nav{
    position: relative;
    padding-top: 25px;
    margin-bottom: 12px;
}
.my-nav img{
    position: absolute;
    left: 16px;
}
.my-top{
    padding-bottom: 20px;
}
.my-top img {
    width: 10px;
    display: inline-block;
    padding-top: 25px;
    padding-left: 5px;
    top: 0;
}
.my-item{
    text-align: center;
    width: 100%;
}
.content{
    margin: 0 16px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 20px;
        padding-bottom: 30px;
}
.content img{
        width: 70%;
    padding: 0;
    margin-left: 15%;
}
.fz13{
    font-size: 13px;
}
.fz12{
    font-size: 12px;
}
.text-center{
    text-align: center;
    margin: 10px;
}
.gray{
    color: #BABABA;
}
.count{
        margin-top: 20px;
    border-top: 1px solid #F6F6F6;
    padding-top: 20px;
        margin-bottom: 12px;
}
.search{
        padding: 8px 10px;
    background: #F6F6F6;
    margin-bottom: 8px;
    border-radius: 8px;
    font-size: 13px;
}
.rexian{
    margin-top: 10px;
    font-size: 14px;
}
</style>
